package com.nabi.starter.common.constant;

/**
 * @author CAOYOU
 * @Title: RegularExpr
 * @date 2019/10/2515:53
 */
public interface RegularExpr {

    String USER_NAME = "^(?!_)(?!.*?_$)[a-zA-Z0-9_\\u4e00-\\u9fa5]+$";
    String PHONE = "^1[3456789]\\d{9}$";
    String PASSWORD = "^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,16}$";
    String EMAIL = "^[A-Za-z0-9\\u4e00-\\u9fa5]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$";
}
